﻿@{
    ViewBag.Title = "Create";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@using (Html.BeginForm("Update", "Product", FormMethod.Post, new { enctype = "multipart/form-data" }))
{
    <table>
        <tbody>
            <tr>
                <th>
                    产品描述:
                </th>
                <td>
                    <input type="hidden" name="hidContents" id="hidContents" value="@(Model.Contents)" />
                    <script type="text/javascript" src="/FCKEditorSimpleNet265/fckeditor.js"></script>
                    <script type="text/javascript">
                        var oFCKeditor = new FCKeditor('Contents');
                        oFCKeditor.BasePath = '/FCKEditorSimpleNet265/';
                        oFCKeditor.ToolbarSet = 'YouLanYe';
                        oFCKeditor.Width = '100%';
                        oFCKeditor.Height = '520px';
                        oFCKeditor.Value = $("#hidContents").val();
                        oFCKeditor.Create(); 
                    </script>
                </td>
            </tr>
            <tr>
                <th>
                    &nbsp;
                </th>
                <td>
                    <input id="btnOK" type="submit" class="formButton" value="保 存" />
                </td>
            </tr>
        </tbody>
    </table>
    
}
